export const API_ENDPOINTS = {
    chat: {
        base: '/chat',
        completion: '/completion',
    }
};

export const buildUrl = (module, endpoint) => {
    return `${API_ENDPOINTS[module].base}${endpoint}`;
};